<?php

$data = array('msg' => null, 'type' => 'order', 'table' => 'orders');

$data['search_fields'] = array(
  'date',
  'provider',
  'order',
  'comments'
);

$data['joins'] = array(
  'providers'
);

$data['join_fields'] = array(
  '`provider_id`=`providers`.`id`'
);

$data['order'] = 'purchase_date, provider, `order`';

?>
